const Api = {
  get_mall_banner: '/api/mall/getbanner',
  get_mall_hot_search: '/api/mall/gethotsearch',
  get_all_goods: '/api/goods/getall',
  search_goods: '/api/goods/search',
  get_goods_detail: '/api/goods/getdetail',
  get_goods_qrcode: '/api/goods/getqrcode',
  get_goods_share: '/api/goods/getshare',

  user_login: '/api/user/login',
  get_user_info: '/api/user/getinfo',
  get_user_role: '/api/user/getrole',
  get_user_status: '/api/user/getstatus',
  bind_user_idcard: '/api/user/bindidcard',
  become_proxy: '/api/user/becomeproxy',

  add_goods_to_cart: '/api/cart/addgoods',
  get_cart_goods: '/api/cart/getgoods',
  update_goods_number: '/api/cart/updategoodsnumber',
  del_goods: "/api/cart/delgoods",

  get_orders: '/api/order/getall',
  del_order: '/api/order/del',
  pay_order: '/api/order/pay',
  query_order: '/api/order/query',
  repay_order: '/api/order/repay',
  confirm_receipt_order: '/api/order/confirmreceipt',
  cancel_order: '/api/order/cancel',
  count_order_num: '/api/order/countnum',

  get_us_able_num: '/api/coupon/getusablenum',
  get_my_coupons: '/api/coupon/getmy',
  get_all_coupons: '/api/coupon/getall',
  receive_coupon: '/api/coupon/receive',
  receive_redpackage_coupon: '/api/redpackage/receivecoupon',
  get_redpackage: '/api/redpackage/get',

  get_upload_token: '/api/app/getuploadtoken',
  get_vericode: '/api/app/getvericode',
  get_help: '/api/app/help',

  distribute_withdraw: '/api/distribute/withdraw',
  get_distribute_withdraw: '/api/distribute/getwithdraw',
  get_distribute_income: '/api/distribute/getincome'
}

export { Api }